export default class Component { 
	
	constructor() {
		this.sprite = null;
  }
	renderTo(stage) {
		stage.addChild(this.sprite);
	}
	destroy(){
		if(this.sprite){
			this.sprite.parent.removeChild(this.sprite);
		}
  }
  
}